<!doctype html>
<html lang="en">

<%@ include file="Include_Professor_Imports.jsp"%>
<%@ include file="Include_Design_Table.jsp"%> 

<body>
<!-- HEADER -->
<div style="position: fixed; width: 100%; z-index: 1;">
<%@ include file="Include_Professor_Header.jsp"%>

<section id="secondary_bar">
<div class="user"><!-- <a class="logout_user" href="#" title="Logout">Logout</a> -->
</div>
<div class="breadcrumbs_container"><article class="breadcrumbs"><a
	href="ProfessorHomeServlet">Home</a>
<div class="breadcrumb_divider"></div>
<a
	href="ProfessorViewExamServlet?type=Real">Live Exams</a>
<div class="breadcrumb_divider"></div>
<a class="current">Exam Status</a></article></div>
</section>
<!-- end of secondary bar -->
</div>
<%@ include file="Include_Professor_Menu.jsp"%>

<c:set var="nottaken" value="${requestScope.notYetTaking}"></c:set>
<c:set var="taking" value="${requestScope.currentlyTaking}" ></c:set>
<c:set var="taken" value="${requestScope.doneTaking}" ></c:set>

<section id="main" class="column">

<%@ include file="Include_Professor_Message.jsp"%>

<div class="tablemodule" style="max-height: 400px; overflow: auto;">
<h5>Students have not taken exam<div>Search: <input name="filt" onKeyUp="filter2(this, 'studentTable', '1')" type="text"></div></h5>
<table class="tablesorter" id="studentTable" cellspacing="0">
	<thead>
		<tr>
			<th>User Id</th>
			<th>Last Name</th>
			<th>First Name</th>
			<th>Username</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${nottaken}" var="student">
			<tr>
				<td><c:out value="${student.userID}"></c:out></td>
				<td><c:out value="${student.lastName}"></c:out></td>
				<td><c:out value="${student.firstName}"></c:out></td>
				<td><c:out value="${student.username}"></c:out></td>
			</tr>
		</c:forEach>
	</tbody>
</table>
</div>
<div class="spacer"></div>
<div class="clear"></div>

<!-- end of post new article -->

<div class="tablemodule" style="max-height: 400px; overflow: auto;">
<h5>Students currently taking exam<div>Search: <input name="filt" onKeyUp="filter2(this, 'studentTable', '1')" type="text"></div></h5>
<table class="tablesorter" id="studentTable" cellspacing="0">
	<thead>
		<tr>
			<th>User Id</th>
			<th>Last Name</th>
			<th>First Name</th>
			<th>Username</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${taking}" var="student">
			<tr>
				<td><c:out value="${student.userID}"></c:out></td>
				<td><c:out value="${student.lastName}"></c:out></td>
				<td><c:out value="${student.firstName}"></c:out></td>
				<td><c:out value="${student.username}"></c:out></td>
			</tr>
		</c:forEach>
	</tbody>
</table>
</div>
<div class="spacer"></div>
<div class="clear"></div>

<!-- end of post new article -->

<div class="tablemodule" style="max-height: 400px; overflow: auto;">
<h5>Students finished the exam<div>Search: <input name="filt" onKeyUp="filter2(this, 'studentTable', '1')" type="text"></div></h5>
<table class="tablesorter" id="studentTable" cellspacing="0">
	<thead>
		<tr>
			<th>User Id</th>
			<th>Last Name</th>
			<th>First Name</th>
			<th>Username</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${taken}" var="student">
			<tr>
				<td><c:out value="${student.userID}"></c:out></td>
				<td><c:out value="${student.lastName}"></c:out></td>
				<td><c:out value="${student.firstName}"></c:out></td>
				<td><c:out value="${student.username}"></c:out></td>
			</tr>
		</c:forEach>
	</tbody>
</table>
</div>
<div class="spacer"></div>
<div class="clear"></div>

<!-- end of post new article -->


<div class="spacer"></div>
</section>


</body>

</html>